package com.inuker.bluetooth.library;


import android.content.Context;

/**
 * Created by Michael Pi on 2017/1/13.
 */

public class ClientManager {

    private static BluetoothClient mClient;

    public static void initClient(Context context) {
        if (mClient == null) {
            synchronized (ClientManager.class) {
                if (mClient == null) {
                    mClient = new BluetoothClient(context);
                }
            }
        }
    }


    public static BluetoothClient getClient() {
        return mClient;
    }
}